package com.ideaction.log.dblog;

import com.log.annotation.LogCollection;
import com.log.template.BaseLogBean;
import com.log.template.LogCollectionType;
import lombok.Getter;
import lombok.Setter;

/**
 * 数据库日志记录,通过注解会自动记录本地日志
 *
 * @author ZGame
 */
@Getter
@Setter
@LogCollection(collectionType = LogCollectionType.Month, localLogger = "RegistLog")
public class RegistLog extends BaseLogBean {
    
    private String ip;
    
    public RegistLog(String userId, String ip) {
        super(userId);
        this.ip = ip;
    }
    
}
